import Layout from "@/layout";
export default [
    {
        path: "/component",
        name: "component",
        component: Layout,
        redirect:'/component',
        children: [
            {
                path: "/component",
                name: "componentIndex",
                component: () => import("@/views/component/index.vue"),
            },
            {
                path: "/component/popup",
                meta: { title: '弹出层'},
                component: () => import("@/views/component/popup/index.vue"),
            },
            {
                path: "/component/select",
                meta: { title: '选择器'},
                component: () => import("@/views/component/select/index.vue"),
            },
            {
                path: "/component/select/areaSelect",
                meta: { title: '地区选择器'},
                component: () => import("@/views/component/select/areaSelect.vue"),
            },
            {
                path: "/component/select/dataSelect",
                meta: { title: '日期选择器'},
                component: () => import("@/views/component/select/dataSelect.vue"),
            },
            {
                path: "/component/numberKeyboard",
                meta: { title: '数字键盘'},
                component: () => import("@/views/component/numberKeyboard/index.vue"),
            },
            {
                path: "/component/progress",
                meta: { title: '环形进度条'},
                component: () => import("@/views/component/progress/index.vue"),
            },
            {
                path: "/component/uploader",
                meta: { title: '图片上传'},
                component: () => import("@/views/component/uploader/index.vue"),
            }
        ]
    },
]